package com.he.DesignPatterns.iterator;

/**
 * @description: 抽象聚合角色接口
 * @Author: HCL
 * @Date: 2024/9/4 11:31
 */
public interface StudentAggregate {

    //添加
    void addStudent(Student stu);

    //删除
    void removeStudent(Student stu);

    //获取迭代器对象
    StudentIterator getStudentIterator();
}
